(0) Obligation:
Runtime Complexity TRS:
The TRS R consists of the following rules:
rev(ls) → r1(ls, empty)
r1(empty, a) → a
r1(cons(x, k), a) → r1(k, cons(x, a))
Rewrite Strategy: FULL
(1) DecreasingLoopProof (EQUIVALENT transformation)
The following loop(s) give(s) rise to the lower bound Ω(n1):
The rewrite sequence
r1(cons(x, k), a) →+ r1(k, cons(x, a))
gives rise to a decreasing loop by considering the right hand sides subterm at position [].
The pumping substitution is [k / cons(x, k)].
The result substitution is [a / cons(x, a)].
(2) BOUNDS(n^1, INF)